package net.sunbeta.testng;

public class JspPage {
    /*<%@ page import="org.testng.*, java.io.*" %><%
    TestNG tester = new TestNG();
    tester.setDefaultSuiteName("container-tests");
    String root = application.getRealPath("/WEB-INF/classes");
    ClassScanner scanner = new ClassScanner(new File(root));
    scanner.setLoader(getClass().getClassLoader());
    scanner.setFilter(new FileFilter() {
      public boolean accept(File pathname) {
        return pathname.getPath().indexOf("Test") > -1;
      }
    });
    Class[] classes = scanner.getClasses();
    tester.setTestClasses(classes);
    IReporter reporter = new SinglePageReporter(out);
    tester.addListener(reporter);
    tester.run();
    %>*/
}
